package coffee;

import framework.Product;

public class Coffee extends Product
{
    private String category;
    public Coffee(String category)
    {
        this.category = category;
    }

    @Override
    public void use()
    {
        System.out.println("品尝"+ category +"咖啡");
    }

    public String getCategory()
    {
        return category;
    }

}
